package com.itfreer.xjmh.temporary;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseDao;
import com.itfreer.form.api.BaseServiceImp;
import com.itfreer.xjmh.temporary.entity.TemporaryFloorEntity;
import com.itfreer.xjmh.temporary.dao.TemporaryFloorDao;

/**
 * 定义地面安保数据实现类
 */
@Component
public class TemporaryFloorServiceImp extends BaseServiceImp<TemporaryFloorEntity> implements TemporaryFloorService {

	@Autowired
	private TemporaryFloorDao dao;

	@Override
	protected BaseDao<TemporaryFloorEntity> getDao() {
		return dao;
	}
	
	/**
	 * 是否为租户实体对象
	 */
	@Override
	protected boolean isTenant() {
		return true;
	}

	/**
	 * 获取租户字段名称 用于SAAS下数据管理
	 */
	@Override
	protected String getTenantFieldName() {
		return "tenantID";
	}


}
